.class Lcom/brixd/niceapp/activity/SplashActivity$5;
.super Ljava/lang/Object;
.source "SplashActivity.java"

# interfaces
.implements Lretrofit/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/SplashActivity;->initAppPortalData()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lretrofit/Callback",
        "<",
        "Lorg/json/JSONObject;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/SplashActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/SplashActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/SplashActivity;

    .prologue
    .line 214
    iput-object p1, p0, Lcom/brixd/niceapp/activity/SplashActivity$5;->this$0:Lcom/brixd/niceapp/activity/SplashActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public failure(Lretrofit/RetrofitError;)V
    .registers 3
    .param p1, "error"    # Lretrofit/RetrofitError;

    .prologue
    .line 233
    iget-object v0, p0, Lcom/brixd/niceapp/activity/SplashActivity$5;->this$0:Lcom/brixd/niceapp/activity/SplashActivity;

    # invokes: Lcom/brixd/niceapp/activity/SplashActivity;->showNetworkErrorDialog()V
    invoke-static {v0}, Lcom/brixd/niceapp/activity/SplashActivity;->access$300(Lcom/brixd/niceapp/activity/SplashActivity;)V

    .line 234
    return-void
.end method

.method public bridge synthetic success(Ljava/lang/Object;Lretrofit/client/Response;)V
    .registers 3

    .prologue
    .line 214
    check-cast p1, Lorg/json/JSONObject;

    invoke-virtual {p0, p1, p2}, Lcom/brixd/niceapp/activity/SplashActivity$5;->success(Lorg/json/JSONObject;Lretrofit/client/Response;)V

    return-void
.end method

.method public success(Lorg/json/JSONObject;Lretrofit/client/Response;)V
    .registers 7
    .param p1, "jsonObject"    # Lorg/json/JSONObject;
    .param p2, "response"    # Lretrofit/client/Response;

    .prologue
    .line 218
    invoke-static {p1}, Lcom/brixd/niceapp/util/LocalCacheUtils;->setPortalData(Lorg/json/JSONObject;)V

    .line 219
    iget-object v0, p0, Lcom/brixd/niceapp/activity/SplashActivity$5;->this$0:Lcom/brixd/niceapp/activity/SplashActivity;

    # getter for: Lcom/brixd/niceapp/activity/SplashActivity;->mHasRetry:Z
    invoke-static {v0}, Lcom/brixd/niceapp/activity/SplashActivity;->access$200(Lcom/brixd/niceapp/activity/SplashActivity;)Z

    move-result v0

    if-nez v0, :cond_1a

    .line 220
    iget-object v0, p0, Lcom/brixd/niceapp/activity/SplashActivity$5;->this$0:Lcom/brixd/niceapp/activity/SplashActivity;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/SplashActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/brixd/niceapp/activity/SplashActivity$5$1;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/SplashActivity$5$1;-><init>(Lcom/brixd/niceapp/activity/SplashActivity$5;)V

    const-wide/16 v2, 0x4b0

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 229
    :goto_19
    return-void

    .line 227
    :cond_1a
    iget-object v0, p0, Lcom/brixd/niceapp/activity/SplashActivity$5;->this$0:Lcom/brixd/niceapp/activity/SplashActivity;

    # invokes: Lcom/brixd/niceapp/activity/SplashActivity;->startNiceAppActivity()V
    invoke-static {v0}, Lcom/brixd/niceapp/activity/SplashActivity;->access$100(Lcom/brixd/niceapp/activity/SplashActivity;)V

    goto :goto_19
.end method
